from typing import Optional

from fastapi import FastAPI
from pydantic import BaseModel


class MemoryRes(BaseModel):
    memory_id: str
    user_name: str
    target_name: str
    content: str
    dt: str
    memory_type: Optional[str] = None
